body {
    /* height: 2000px; */
    width: 100%;
    min-width: 320px;
    max-width: 640px;
    margin: 0 auto;
    font-size: 14px;
    font-family: -apple-system, Helvetica, sans-serif;
    color: #666;
    line-height: 1.5;
}
div {
    box-sizing: border-box;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
}
input {
    -webkit-appearance: none;
}


/*禁用长按页面时的弹出菜单*/

img,
a {
    -webkit-touch-callout: none;
}
/* 头部区域 */
.header {
    height: 45px;
}
.header ul li {
    float: left;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background-color: #333;
    color: #fff;
}
.header ul li:nth-child(1) {
    width: 8%;
}
.header ul li:nth-child(1) img {
    width: 10px;
}
.header ul li:nth-child(2) {
    width: 10%;
}
.header ul li:nth-child(2) img {
    width: 30px;
    vertical-align: middle;
}
.header ul li:nth-child(3) {
    width: 57%;
}
.header ul li:nth-child(4) {
    width: 25%;
    background-color: #F63515;
    
}
.header ul li:nth-child(4) a {
    color: #fff;
}
.search-warp {
    position: fixed;
    overflow: hidden;
    /* position: relative; */
    min-width: 320px;
    max-width: 640px;
    height: 44px;
    width: 100%;
    /* background-color: pink; */
}
.search-btn {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 44px;
}
.search-btn::before {
    content: "";
    display: block;
    width: 20px;
    height: 18px;
    background: url(../images/s-btn.png) no-repeat;
    background-size: 20px 18px;
    margin:13px 8px;
}
.search-login {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 44px;
    line-height: 44px;
    color: #fff;
}
.search {
    position: relative;
    /* width: 300px; */
    height: 30px;
    border-radius: 15px;
    background-color: #fff;
    margin: 0 50px;
    margin-top: 7px;
}
.jd-logo {
    position: absolute;
    width: 20px;
    height: 15px;
    top: 8px;
    left: 13px;
    background: url(../images/jd.png) no-repeat;
    background-size: 20px 15px;
}
.jd-logo::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: -8px;
    height: 15px;
    width: 1px;
    background-color: #ccc;
}
.sou {
    position: absolute;
    left: 50px;
    top: 9px;
    width: 18px;
    height: 15px;
    background: url(../images/jd-sprites.png) no-repeat -81px 0;
    background-size: 200px;
}
.slider img{
    width: 100%;
}
.brand div{
    float: left;
    width: 33.33%;
}
.brand div img {
    width: 100%;
}
/* nav部分 */
.nav {
    padding-top: 5px;
}
.nav a {
    display: block;
    width: 20%;
    float: left;
    text-align: center;
}
.nav a img {
    width: 40px;
    margin: 10px 0;
}
.nav a span{
    display: block;
}
/* new区域 */
.news {
    margin-top: 20px;
    /* box-sizing:unset; */
}
.news a {
    display: block;
    float: left;
}
.news a:nth-child(1) {
    width: 50%;
}
.news a:nth-child(n+2) {
    width: 25%;
    border-left: 1px solid #ccc;
    box-sizing: border-box;
}
.news img {
    width: 100%;
}